package com.plian.system.entity.sys.excel;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

import static com.baomidou.mybatisplus.annotation.IdType.ASSIGN_UUID;

@Data
@TableName("sys_excel")
@ApiModel("自定义表格")
public class AutoExcel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = ASSIGN_UUID)
    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "单据编码")
    private String code;

    @ApiModelProperty(value = "json文本")
    private String jsonText;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "修改时间")
    private String updateTime;

    @ApiModelProperty(value = "假删除：为1表示删除")
    private String isDel;

    @ApiModelProperty(value = "导出模板的存储目录")
    private String docUrl;

    @ApiModelProperty(value = "数据库表名")
    private String tableName;

    @ApiModelProperty(value = "0、按月填报；1、按季度填报；2、按年填报")
    private Integer fillType;

    @ApiModelProperty(value = "是否上报，0、不上报；1、上报；默认0")
    private Integer isReport;

    @ApiModelProperty(value = "生效开始时间")
    private String startTime;

    @ApiModelProperty(value = "生效结束时间")
    private String endTime;

    @ApiModelProperty(value = "是否按照生效时间查询  1否2是")
    private Integer timeFlag;
}
